package com.liuxin.zhiyuan.shujuzhongxin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxin.common.utils.PageUtils;
import com.liuxin.zhiyuan.shujuzhongxin.domain.dto.RecommendationItemDTO;
import com.liuxin.zhiyuan.shujuzhongxin.domain.po.MajorGroupScoreEntity;

import java.util.List;
import java.util.Map;

public interface MajorGroupScoreService extends IService<MajorGroupScoreEntity> {
    PageUtils queryPage(Map<String, Object> params);
    /**
     * 根据位次范围查询专业组
     * @param minRank 最小位次
     * @param maxRank 最大位次
     * @param natureId 首选科目id
     * @param province 省份
     * @param limit 限制数量
     * @return 专业组列表
     */
    List<RecommendationItemDTO> getMajorGroupsByRankRange(Integer minRank, Integer maxRank,
                                                          Integer natureId, String province, String year, Integer limit);

    /**
     * 志愿推荐服务
     * @param studentId 学生ID
     * @return 推荐结果
     */
    Map<String, Object> getVolunteerRecommendation(Integer studentId);
}
